<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>外边距问题合并现象</title>
    <style>
        .one{
            width: 200px;
            height: 200px;
            background-color: pink;
            margin-bottom: 20px;
        }
        .two{
            width: 200px;
            height: 200px;
            background-color: brown;
            margin-top: 50px;
        }
    </style>
</head>
<body>
    <div class="one">div1</div>
    <div class="two">div2</div>
</body>
</html>